package org.callisto.research;
import java.io.PrintWriter;
import java.net.Socket;


public class TcpClient {
	public static void main(String args[]) {
		Socket socket = null;
		PrintWriter out = null;
		try {
			int port = 8888;
			String host = "localhost";
			socket = new Socket(host,port);
			out = new PrintWriter(socket.getOutputStream(),true);
			System.out.println("Socket client bound to " + host + ":" + port);
			out.flush();
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
}
